Roy Beerens scored a late winner as Reading came from behind to beat Brentford and boost their Championship promotion hopes.